package com.sumainfor.wx.tenant.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.wx.tenant.feign.OperationsFeignClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Jack Chen
 * @Create 2019-01-25 14:40
 */
@Component
public class OperationsFeignClientFallback implements OperationsFeignClient {
    @Override
    public JsonResult getComplaintType() {
        return JsonResult.error("服务器繁忙...");
    }

    public JsonResult getFirsMonRent(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult PaymentCompleted(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getBillMonRentList(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult PayOffline(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getOwnerBillAllCount(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getOwnerBillList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getBillAllList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getBillAllBiIdMap(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult AddTenantCallKeep(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult AddTenantEvaKeep(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getEvaluateList() {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getBillFeeMapFile(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult UpdateBillPay(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult listTenantBillHavePaid(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult setPayWechatBill(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult PayWechatBillCensor(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult AddTenantComplaint(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getTanantWithdrawalMap(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getTanantWithdrBill(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getWithArticleList(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙，请稍后重试！");
    }

   @Override
    public JsonResult getWithArticleEvaList(Map<String,Object> params){
        return JsonResult.error("运营部服务器繁忙...");
   }

    @Override
    public JsonResult submitSurvey(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }
}
